# -*- coding: utf-8 -*-
"""
Created on Wed Aug 20 11:41:53 2014

@author: loseair123
"""

"""
print('hello world')
print(2**100)

#my first python script
import sys
print(sys.platform)
print(2**100)
x ='sam!'
print(x*8)


#变量

num1=1
num2=2
print(num1,num2)
num1=num2
print id(num1)
print id(num2)

"""
#python 四则运算 和逻辑运算
num1=int(input('please input a Integer'))
num2=int(input('please input a Integer'))
print("加法",num1+num2)
print('减法',num1-num2)
print('乘法',num1*num2)
print('除法',num1/num2)
print(' 整数除法',num1//num2)
print('逻辑运算')
print('and',num1>10 and num2<10)
print('or',num1>10 or num2<10)
print('左移',num1<<2)
print('右移',num1>>2)
input('press enter to exit!')
